@import "aui/alloy-font-awesome/scss/mixins-alloy";
@import "aui/alloy-font-awesome/scss/variables";
@import "compass";
@import "compass/css3/user-interface";
@import "mixins";

.aui {

    /*------- Dockbar -------*/

    .dockbar-split .dockbar,
    .dockbar-split .dockbar.navbar-static-top .collapse .nav-account-controls {
        position: static;
    }

  .dockbar-split .dockbar .navbar-inner {
    background: none;

    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;

    width: auto
  }

    .dockbar-split .dockbar .navbar-inner .container {
        float: right;
        position: relative;
        width: auto;
    }

    .dockbar-split .dockbar .navbar-inner .nav > li {
        background: #fff url(../images/navigation/top-navigation-bg.png) bottom left repeat-x;
        background: none;
    }

    /* Hide Liferay notifications */
    /* Hide my sites */
    /* Hide user avatar image */
    .dockbar-split .dockbar .navbar-inner .nav > li.dockbar-user-notifications,
    .dockbar-split .dockbar .navbar-inner .nav > li.my-sites,
    .dockbar-split .dockbar .navbar-inner .nav > li.user-avatar span.nav-item-label > img {
        display: none;
    }

    /* Show my sites when it should be shown - controlled through theme settings */
    .show-my-sites .dockbar .navbar-inner .nav > li.my-sites {
        display: block;
    }

    .dockbar-split .dockbar .navbar-inner .nav > li > a,
    .dockbar-split .dockbar .navbar-inner .nav > li > a:hover {
        color: #777;
        line-height: 21px;
    }

    .dockbar-split .dockbar .navbar-inner .nav > li > a:hover {
        background: #3a84c1;
        color: #fff;
    }

    .navbar .icon-caret-down {
        background: transparent;
    }

    .navbar a:hover .icon-caret-down {
        background: transparent;
    }

    .navbar a:hover .icon-caret-down:before {
        color: #fff;
    }

    .dockbar-split .dockbar .navbar-inner .nav li.dropdown.open > .dropdown-toggle {
        background: #3a84c1;
    }

    .dockbar .nav li.dropdown .dropdown-menu,
    .dockbar .nav li.dropdown .site-administration-menu {
        background: #3a84c1;
    }

    .dockbar-split .dockbar .navbar-inner .nav > li.dockbar-user-notifications > a,
    .dockbar-split .dockbar .navbar-inner .nav > li.dockbar-user-notifications > a:hover {
        color: #fff;
    }

    .dockbar .nav li.dropdown .dropdown-menu > li > a,
    .dockbar .nav li.dropdown .site-administration-menu > li > a {
        font-size: 1.0em;
    }

    /*------- Top navigation -------*/

  .top-wrap {
      background: #fff url(../images/navigation/top-navigation-bg.png) bottom left repeat-x;
      -moz-border-radius: 3px;
      -webkit-border-radius: 3px;
      border-radius: 3px;

      -moz-box-shadow: 0px 1px 4px 0px #cccccc;
      -webkit-box-shadow: 0px 1px 4px 0px #cccccc;
      box-shadow: 0px 1px 4px 0px #cccccc;

      border: 1px solid #d5e0ea;

      float: right;
      list-style: none;
      margin: 0;
      padding: 5px;
      position: relative;

      padding: 0 5px;

  }

    ul.top-nav-list {
      background: none;
      -moz-border-radius: 0px;
      -webkit-border-radius: 0px;
      border-radius: 0px;
      -moz-box-shadow: none;
      -webkit-box-shadow: none;
      box-shadow: none;
      border: none;
      float: left;
      list-style: none;
      margin: 0;
      padding: 5px;
      position: relative;
      padding: 0 5px;
  }

  ul.top-nav-list li {
    background: none;
    border-right: 1px solid #e0e0e0;
    display: block;
    float: left;
    line-height: 1.0;
    padding: 0;
    margin: 0;
  }

  ul.top-nav-list li.last {
    background: none;
    border-right: none;
  }

  .top-nav-list a,
  .top-nav-list li > span {
    color: #555;
    display: block;
    float: left;
    font-size: 1.1em;
    line-height: 21px;
    padding: 10px 10px;
    text-decoration: none;
  }

  .top-nav-list li > span {
    display: block;
    margin: 5px 0 0 0;
    color: #777;
  }

  ul.top-nav-list li a:hover {
    background-color: #3a84c1;
    color: #fff;
  }

  ul.top-nav-list li a.active {
    background-color: #3a84c1;
    color: #fff;
  }

  ul.top-nav-list li .login-link-portlet > a {
      padding: 0px;
  }

  /*------- Main navigation -------*/

  #banner .rp-navigation-portlet .portlet-borderless-container {
    position: static;
  }

  #navigation {
    margin: 0 0 5px 0;
  }

  #navigation > ul {
    background: #2f6ea1 url(../images/navigation/navigation-bg-normal.png) top left repeat-x;
    border-bottom: 1px solid #245780;
    border-top: 1px solid #29699e;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    clear: both;
    cursor: pointer;
    display: block;
    list-style: none;
    margin: 0 auto;
    padding: 1px 2px;
    position: relative;
    z-index: 10;
  }

  #navigation ul.nav-list li {
    background: url(../images/navigation/navigation-separator.png) top right repeat-y;
    display: block;
    float: left;
    line-height: 1.0;
    padding: 0 2px 0 0;
    position: relative;
    zoom: 1;
  }

  #navigation ul.nav-list li a {
    background: transparent;
    color: #fff;
    display: block;
    font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: 1.2em;
    font-weight: normal;
    line-height: 1.0;
    margin: 0;
    padding: 10px 14px;
    text-decoration: none;
    text-shadow: none;
  }

  /* Hover */
  #navigation ul.nav-list li.hover > a,
  #navigation ul.nav-list li:hover > a {
    background: #3a84c1 url(../images/navigation/navigation-bg-hover.png) top left repeat-x;
    color: #fff;
  }

  /* Selected */
  #navigation ul.nav-list > li.selected > a,
  #navigation ul.nav-list > li.selected.hover > a,
  #navigation ul.nav-list > li.selected:hover > a { 
    background: #548332 url(../images/navigation/navigation-bg-active.png) top left repeat-x;
    color: #fff;
  }

  #navigation .nav-list-sub-wrap {
    background: transparent url(../images/navigation/navigation-sub-bg-arrow.png) top left no-repeat;
    display: none;
    left: 0;
    padding: 11px 0 0 0;
    position: absolute;
    top: 100%;
    width: 200px;
    z-index: 598;
  }

  /* Sub List */
  #navigation ul.nav-list ul {
    background: #f9f9fb;
    border: 1px solid #bbc6ce;
    border-top: 0px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 598;
  }

  #navigation  ul.nav-list ul li {
    background: #f9f9fb;
    border-bottom: 1px solid #dadfe5;
    display: block;
    float: none;
    margin: 0;
    padding: 0;
  }

  #navigation  ul.nav-list ul li.last {
    border-bottom: 0;
  }

  #navigation ul.nav-list ul li a {
    background: transparent;
    color: #2f72a9;
    display: block;
    margin: 0;
    padding: 0;
    font-size: 1.1em;
    padding: 10px;
    text-decoration: none;
  }

  .ie7 #navigation ul.nav-list ul li a { display: inline-block; }
  .ie7 #navigation ul.nav-list ul li a { display: block; }

  #navigation ul.nav-list ul li a:hover {
  }

  /* Show dropdown on hover */
  #navigation  ul.nav-list > li:hover > ul {
    
  }

  #navigation  ul.nav-list > li:hover > .nav-list-sub-wrap {
    display: block;
  }

  /*------- Quick Access Navigation -------*/

  .quick-access-overlay {
    left: 50% !important; /* Fix positioning issue. */
    margin-left: -600px !important; /* 1200/2 */
    margin-top: -3px;
  }

  .quick-access-overlay .overlay-content {
    background: #fff;
    /*behavior: url(/vgr-alfa-theme/htc/css3pie.htc);*/
    -moz-border-radius: 3px 0 0 3px;
    -webkit-border-radius: 3px 0 0 3px;
    border-radius: 3px 0 0 3px; 
    border: 1px solid #cad5de;
    -moz-box-shadow: 0px 1px 4px 0px #ccc;
    -webkit-box-shadow: 0px 1px 4px 0px #ccc;
    box-shadow: 0px 1px 4px 0px #ccc;
    position: relative;
    
    border: 1px solid #4d79b4;
    -moz-border-radius: 0 0 3px 3px;
    -webkit-border-radius: 0 0 3px 3px;
    border-radius: 0 0 3px 3px; 
    
    -moz-box-shadow: 0px 1px 4px 0px #4d79b4;
    -webkit-box-shadow: 0px 1px 4px 0px #4d79b4;
    box-shadow: 0px 1px 4px 0px #4d79b4;
    
  }

  .quick-access-nav-hd {
    border-bottom: 1px solid #dadfe5;
    padding: 0 0 5px 0;
    margin: 0 0 5px 0;
    
    border-bottom: 1px solid #4d79b4;
    
    background: #4d79b4;
    color: #fff;
    margin: -8px -8px 5px -8px;
    padding: 8px;
    position: relative;
  }

  .quick-access-nav-hd h3 {
    color: #005095;
    float: left;
    margin: 0 10px 0 0;
    width: 130px;
    
    color: #fff;
  }

  .quick-access-nav-hd .filter-wrap {
    float: left;
    width: 700px;
  }

  .quick-access-nav-hd a.close {
    background: transparent url(../images/icons/overlay-close.png) 0 0 no-repeat;
    color: #fff;
    display: block;
    font-size: 0;
    height: 35px;
    position: absolute;
    right: 3px;
    text-indent: -9999em;
    top: 3px;
    width: 35px;
  }

    .quick-access-nav-hd .filter-wrap label {
        color: #fff;
    }

  .quick-access-nav-hd .filter-wrap label,
  .quick-access-nav-hd .filter-wrap input,
  .quick-access-nav-hd .filter-wrap span.help-text {
    display: inline;
    padding-right: 10px;
  }

  .top-wrap > div {
      float: right;
  }

    .top-wrap {

        .top-navigation-wrap,
        .dockbar-wrap {
            float: right;
        }

    }


  .top-wrap .dockbar-wrap {
      height: 43px;
  }

  ul.quick-access-nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }

  ul.quick-access-nav-list li.level-1 {
    background: #eef5fa;
    border: 1px solid #c4ced5;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
      display: -moz-inline-stack;
      display: inline-block;
      vertical-align: top;
      margin: 5px;
    min-height: 150px;
      padding: 10px;
      width: 200px;
      zoom: 1;
  }

  .ie7 ul.quick-access-nav-list li.level-1 {
    display: inline;
  }

  ul.quick-access-nav-list li.level-1 a {
    color: #2f72a9;
    font-size: 1.1em;
    font-weight: normal;
    text-decoration: none;
  }

  ul.quick-access-nav-list li.level-1>a,
  ul.quick-access-nav-list li.level-1>div>a {
    font-weight: bold;
  }

  ul.quick-access-nav-list li.level-1 a:hover {
    text-decoration: underline;
  }

  ul.quick-access-nav-list ul.child-menu {
    margin-bottom: 0;
    margin-top: 0;
  }

  ul.quick-access-nav-list ul.child-menu li {}

  ul.quick-access-nav-list ul.child-menu li a {
    color: #333;
    text-decoration: none;
  }

  ul.quick-access-nav-list ul.child-menu li a:hover {
    text-decoration: underline;
  }

  /* ---------- Breadcrumbs ---------- */

  #breadcrumbs {
    border-bottom: 1px solid #ddd;
    margin: 8px 0;
  }

  #breadcrumbs .breadcrumbs-list-wrap {}

  #breadcrumbs .breadcrumbs-label {
    float: left;
    margin-right: 5px;
    position: relative;
  }

  #breadcrumbs ul {
    float: left;
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
  }

  #breadcrumbs ul li {
    background: url(../images/arrows/arrow-right-blue.png) right center no-repeat;
    display: block;
    float: left;
    margin: 0 5px;
    padding: 0 15px 0 0;
    position: relative;
  }

  #breadcrumbs ul li:last-child,
  #breadcrumbs ul li.last {
    background: none;
    padding-right: 0;
  }

  #breadcrumbs h1 {
    margin: 5px 0;
  }

    /*------- Site Navigation -------*/

    ul.site-navigation-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    ul.site-navigation-list > li {
        display: -moz-inline-stack;
        display: inline-block;
        list-style: none;
        min-height: 150px;
        min-width: 250px;
        padding: 0;
        vertical-align: top;
        width: 49.0%;
    }

    .span3 ul.site-navigation-list > li,
    .span4 ul.site-navigation-list > li {
        width: 100%;
    }

    .ie7 ul.site-navigation-list > li {
        display: inline;
        zoom: 1;
    }

    ul.site-navigation-list > li .rp-box {
        margin: 10px;
    }

    ul.site-navigation-list .nav-item-top {
        background: transparent url(../images/vega/vega-navigation-sprite.png) 0 0 no-repeat;
        margin-bottom: 5px;
        min-height: 45px;
        padding-left: 55px;
    }

    ul.site-navigation-list .vega-manage-files .nav-item-top { background-position: 0 -300px; }
    ul.site-navigation-list .vega-analyze-data .nav-item-top { background-position: 0 -600px; }
    ul.site-navigation-list .vega-file-maintenance .nav-item-top { background-position: 0 -900px; }
    ul.site-navigation-list .vega-documentation .nav-item-top { background-position: 0 -1200px; }

    ul.site-navigation-list a {
        color: #333;
        text-decoration: none;
    }

    ul.site-navigation-list .nav-item-title {
        color: #333;
        display: block;
        font-family: Ubuntu, Arial, Verdana, Helvetica, sans-serif;
        font-size: 1.2em;
        text-decoration: none;
    }

    ul.site-navigation-list ul {
        list-style: none;
        margin: 0 0 0 55px;
        padding: 0;
    }

    ul.site-navigation-list ul li {
        list-style: none;
        margin: 5px 0;
        padding: 0;
    }

    ul.site-navigation-list ul li a {
        background: transparent url(../images/icons/link-icon.png) 0 50% no-repeat;
        display: block;
        padding-left: 20px;
    }

}